package com.baizhi.hospital.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * 病人的信息类
 */
public class Patient {
	private Integer patientId;
	private String patientName;
	private Integer patientSex;//性别
	@JsonFormat(pattern = "yyyy/mm/dd HH:mm:ss")
	private Date patientBirth;
	private String patientIdcard;//病人身份证
	private String patientAddress;//地址
	private String patientMobile;//病人的电话
}
